wayland: Clean up naming of GdkWaylandDisplay pointers
authorJonas Ådahl <jadahl@gmail.com>
Tue, 26 Apr 2016 03:16:56 +0000 (11:16 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 26 Apr 2016 12:38:18 +0000 (08:38 -0400)
commitcb73becfb4cdb637bc8b19106a95f91482c95228
treea602d513525021f842653b7e39a4c3c30b2384c8
parent7700243bd49278692c8218fdf8358169672d7a13
wayland: Clean up naming of GdkWaylandDisplay pointers

The naming of pointers to GdkWaylandDisplay's were inconsistent.
Running the following commands in gtk+/gdk/wayland illustrate the
inconsistency:

$ grep -r '\<display_wayland\>' *.[ch] | wc -l
195
$ grep -r '\<wayland_display\>' *.[ch] | wc -l
81

This patch renames all occurrences of "wayland_display" to
"display_wayland". This is also consistent with naming in the X11
backend. A couple of whitespace changes were done as well in places
where the rename was already done, that added line breaks to long lines
that stood out.

https://bugzilla.gnome.org/show_bug.cgi?id=765474
gdk/wayland/gdkcursor-wayland.c
gdk/wayland/gdkdevice-wayland.c
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkdnd-wayland.c
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdkscreen-wayland.c
gdk/wayland/gdkselection-wayland.c
gdk/wayland/gdkwindow-wayland.c